package com.karaoke.android.data.service

import com.karaoke.android.data.domain.PageInfo
import com.karaoke.android.data.domain.QSong
import com.karaoke.android.data.domain.Song
import com.karaoke.android.data.domain.SongPage
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST
import rx.Observable

/**
 * Created by allen on 2017/4/20.
 */

interface SongService
{
    @POST("/api/v1/song/songs")
    fun getSongs(@Body qSong: QSong): Observable<SongPage>


    @GET("/api/v1/song/bang/news")
    fun getNewSongs(): Observable<List<Song>>

    @GET("/api/v1/song/bang/hots")
    fun getHotSongs(): Observable<List<Song>>

    @GET("/api/v1/song/bang/recommends")
    fun getRecommends(): Observable<List<Song>>
}
